using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UpgradeAmmoRegeneration:Upgrade {

	float regenerationProcess;

	public override void Update(object sender,WeaponEventArgs e) {
		base.Update(sender,e);
		regenerationProcess+=deltaTime;
		if(regenerationProcess > 1) {
			regenerationProcess-=1;
			weapon.weapon.currentClip.AddRound(0,true);
		}
	}

}
